package com.motong.gongdan.mapper;

import com.baomidou.mybatisplus.core.conditions.Wrapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.core.toolkit.Constants;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.motong.gongdan.entity.CustomEvent;
import com.motong.gongdan.vo.resp.EventLogResp;
import org.apache.ibatis.annotations.Param;

public interface CustomEventMapper extends BaseMapper<CustomEvent> {
    IPage<EventLogResp> getEventLog(Page page, @Param(Constants.WRAPPER) Wrapper<EventLogResp> wrapper);

    EventLogResp getOneById(@Param(Constants.WRAPPER) Wrapper<EventLogResp> wrapper);
}
